s = 'AbcDeFGhIJ'
num = 0
for i in s:
    if i.islower():
        num += 1
print(num)
